
#ifndef __MAIN_LOOP
#define __MAIN_LOOP

#include "main.h"


extern int key_flag;

extern int oeld_clear_flag;
extern int key_conter_oled ;


extern int   temp_MAX ;
extern int   temp_MIN;

extern int   himu_MAX;
extern int   himu_MIN ;

extern int   V_MAX ;
extern int   V_MIN;

extern int   light_MAX;
extern int   light_MIN ;

extern int Threshold_state;


void ITM_Get(uint32_t time_conut);
void Tim_main_loop(void);
#endif
